package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.PBundling;

import java.util.List;
import java.util.Map;

@DBMapper
public interface PBundlingMapper {
    int deleteByPrimaryKey(Integer blId);

    int insert(PBundling record);

    int insertSelective(PBundling record);

    PBundling selectByPrimaryKey(Integer blId);

    int updateByPrimaryKeySelective(PBundling record);

    int updateByPrimaryKey(PBundling record);

    List<PBundling> findListByCondition(PBundling pBundling);

    List<PBundling> findPBundlingListWithGoodsByCondition(PBundling pBundling);

    PBundling getBundlingWithGoodsById(Map map);

    int delBundlingBatch(List<Integer> blIds);

    PBundling getBundlingWithGoodsDetailByBlId(Map map);
}